#include <iostream>
#include <thread>

// 查询cpu核心数
int main() {
    unsigned int n = std::thread::hardware_concurrency();
    std::cout << "Number of CPU cores: " << n << std::endl;
    return 0;
}